]> dgit.raspbian.org Git - gnome-shell.git/commit
windowManager: Disable favorite shortcuts without overview
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 29 May 2019 15:20:23 +0000 (17:20 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 29 May 2019 20:03:59 +0000 (20:03 +0000)
commit866629b3d3a2dc108e581e1dffb7fff59fed65ba
tree38105c7e88390d7bf624e33f34c1a3dbda293f76
parent2b3ab3ececd2b70023547552b1acf84cbc4fecb1
windowManager: Disable favorite shortcuts without overview

The `switch-to-application-n` shortcuts are essentially "launch the nth
app in the dash" actions, so they are at the very least confusing when
the dash isn't available because the overview itself is disabled (for
example in initial-setup mode).

So disable the shortcuts when the overview is disabled, but delegate the
decision to a separate function so that extensions like 'panel-favorites'
which expose favorites by some other means can easily re-enable them.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1333
js/ui/windowManager.js